<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>孕育宝典 - 孕期主页</title>
        <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
        <style>
            body {
                font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
                background-color: #f5f5f5;
                color: #333333;
                margin: 0;
                padding: 0;
            }
            .device-container {
                width: 390px;
                height: 844px;
                overflow: hidden;
                position: relative;
                background-color: #f5f5f5;
            }
            .status-bar {
                height: 44px;
                background-color: #ffffff;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 20px;
                font-size: 14px;
                font-weight: 600;
            }
            .header {
                background-color: #ff9fb5;
                padding: 20px 16px;
                color: white;
            }
            .nav-bar {
                height: 60px;
                background-color: #ffffff;
                position: absolute;
                bottom: 0;
                width: 100%;
                display: flex;
                justify-content: space-around;
                align-items: center;
                border-top: 1px solid #f0f0f0;
            }
            .nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                color: #666666;
                font-size: 10px;
            }
            .nav-item.active {
                color: #ff9fb5;
            }
            .main-content {
                height: calc(844px - 44px - 60px - 150px);
                overflow-y: auto;
                padding-bottom: 10px;
            }
            .pregnancy-banner {
                display: flex;
                flex-direction: column;
                margin-bottom: 20px;
            }
            .banner-title {
                display: flex;
                align-items: center;
                font-weight: 600;
                font-size: 16px;
                margin-bottom: 12px;
            }
            .banner-title i {
                margin-right: 8px;
            }
            .day-count {
                font-size: 32px;
                font-weight: 700;
                margin-right: 8px;
            }
            .progress-container {
                background-color: rgba(255, 255, 255, 0.3);
                border-radius: 12px;
                height: 8px;
                margin: 8px 0;
                overflow: hidden;
            }
            .progress-bar {
                background-color: white;
                height: 100%;
                border-radius: 12px;
            }
            .fetus-stage {
                display: flex;
                align-items: center;
                margin-top: 8px;
                gap: 10px;
            }
            .fetus-icon {
                width: 50px;
                height: 50px;
                background-color: white;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                color: #ff9fb5;
            }
            .fetus-info {
                flex: 1;
            }
            .fetus-size {
                font-size: 12px;
                color: rgba(255, 255, 255, 0.8);
                margin-top: 4px;
            }
            .section-title {
                font-size: 16px;
                font-weight: 600;
                margin: 16px 16px 12px;
                color: #333;
            }
            .function-cards {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                padding: 0 16px;
            }
            .function-card {
                background-color: #ffffff;
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
                padding: 16px;
                display: flex;
                flex-direction: column;
                height: 120px;
            }
            .card-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-bottom: 10px;
            }
            .card-title {
                font-size: 14px;
                font-weight: 500;
                color: #333;
            }
            .card-icon {
                width: 36px;
                height: 36px;
                border-radius: 8px;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 18px;
                color: white;
            }
            .card-content {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            .card-value {
                font-size: 20px;
                font-weight: 600;
                color: #333;
                margin-bottom: 4px;
            }
            .card-description {
                font-size: 12px;
                color: #999;
            }
            .today-tips {
                background-color: #fff;
                border-radius: 12px;
                margin: 16px;
                padding: 16px;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            }
            .tips-header {
                display: flex;
                align-items: center;
                margin-bottom: 10px;
            }
            .tips-title {
                font-size: 15px;
                font-weight: 500;
                color: #333;
                margin-left: 8px;
            }
            .tips-icon {
                color: #ff9fb5;
                font-size: 18px;
            }
            .tips-content {
                font-size: 13px;
                color: #666;
                line-height: 1.5;
            }
            .today-todo {
                background-color: #fff;
                border-radius: 12px;
                margin: 16px;
                padding: 16px;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            }
            .todo-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 10px;
            }
            .todo-title {
                font-size: 15px;
                font-weight: 500;
                color: #333;
                display: flex;
                align-items: center;
            }
            .todo-title i {
                color: #ff9fb5;
                font-size: 18px;
                margin-right: 8px;
            }
            .todo-more {
                font-size: 12px;
                color: #999;
            }
            .todo-item {
                display: flex;
                align-items: center;
                padding: 10px 0;
                border-bottom: 1px solid #f5f5f5;
            }
            .todo-item:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }
            .todo-checkbox {
                width: 18px;
                height: 18px;
                border-radius: 50%;
                border: 1px solid #ff9fb5;
                margin-right: 10px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                font-size: 10px;
            }
            .todo-checkbox.checked {
                background-color: #ff9fb5;
            }
            .todo-content {
                flex: 1;
                font-size: 13px;
            }
            .todo-time {
                font-size: 12px;
                color: #999;
            }
            .checkup-card {
                background-color: #fff;
                border-radius: 12px;
                margin: 16px;
                padding: 16px;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            }
            .checkup-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 12px;
            }
            .checkup-title {
                font-size: 15px;
                font-weight: 500;
                color: #333;
                display: flex;
                align-items: center;
            }
            .checkup-title i {
                color: #ff9fb5;
                font-size: 18px;
                margin-right: 8px;
            }
            .checkup-more {
                font-size: 12px;
                color: #999;
            }
            .checkup-content {
                display: flex;
                align-items: center;
                background-color: #ffeaef;
                border-radius: 10px;
                padding: 12px;
            }
            .checkup-date {
                width: 50px;
                height: 50px;
                background-color: #ff9fb5;
                border-radius: 10px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                color: white;
                margin-right: 12px;
            }
            .checkup-day {
                font-size: 20px;
                font-weight: 600;
                line-height: 1;
            }
            .checkup-month {
                font-size: 12px;
                margin-top: 4px;
            }
            .checkup-info {
                flex: 1;
            }
            .checkup-name {
                font-size: 14px;
                font-weight: 500;
                margin-bottom: 4px;
            }
            .checkup-time {
                font-size: 12px;
                color: #666;
            }
            .bg-pink {
                background-color: #ff9fb5;
            }
            .bg-blue {
                background-color: #64b5f6;
            }
            .bg-purple {
                background-color: #ba68c8;
            }
            .bg-orange {
                background-color: #ffa726;
            }
        </style>
    </head>
    <body>
        <div class="device-container">
            <!-- iOS状态栏 -->
            <div class="status-bar">
                <span>9:41</span>
                <div class="flex items-center">
                    <i class="fas fa-signal mr-1"></i>
                    <i class="fas fa-wifi mr-1"></i>
                    <i class="fas fa-battery-full"></i>
                </div>
            </div>

            <!-- 孕期状态头部 -->
            <div class="header">
                <div class="flex justify-between items-center mb-3">
                    <h1 class="text-xl font-bold">孕期管理</h1>
                    <div class="flex items-center">
                        <i class="fas fa-bell-slash mr-4"></i>
                        <i class="fas fa-cog"></i>
                    </div>
                </div>

                <!-- 孕期进度 -->
                <div class="pregnancy-banner">
                    <div class="banner-title">
                        <span class="day-count">189</span>
                        <div>
                            <div>距离预产期</div>
                            <div class="text-xs font-normal opacity-80">2023年10月15日</div>
                        </div>
                    </div>
                    <div class="flex justify-between text-sm">
                        <span>已孕12周+3天</span>
                        <span>孕早期</span>
                    </div>
                    <div class="progress-container">
                        <div class="progress-bar" style="width: 32%"></div>
                    </div>
                    <div class="fetus-stage">
                        <div class="fetus-icon">
                            <i class="fas fa-baby"></i>
                        </div>
                        <div class="fetus-info">
                            <div>胎儿已经长到李子大小</div>
                            <div class="fetus-size">长度约6.5厘米，体重约14克</div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 主内容区 -->
            <div class="main-content">
                <!-- 功能卡片 -->
                <h2 class="section-title">孕期监测</h2>
                <div class="function-cards">
                    <div class="function-card">
                        <div class="card-header">
                            <div class="card-title">体重变化</div>
                            <div class="card-icon bg-pink">
                                <i class="fas fa-weight"></i>
                            </div>
                        </div>
                        <div class="card-content">
                            <div class="card-value">+2.1 kg</div>
                            <div class="card-description">孕期体重增长正常</div>
                        </div>
                    </div>
                    <div class="function-card">
                        <div class="card-header">
                            <div class="card-title">胎动次数</div>
                            <div class="card-icon bg-blue">
                                <i class="fas fa-heartbeat"></i>
                            </div>
                        </div>
                        <div class="card-content">
                            <div class="card-value">尚未开始</div>
                            <div class="card-description">一般16-20周开始感知</div>
                        </div>
                    </div>
                    <div class="function-card">
                        <div class="card-header">
                            <div class="card-title">孕期症状</div>
                            <div class="card-icon bg-purple">
                                <i class="fas fa-stethoscope"></i>
                            </div>
                        </div>
                        <div class="card-content">
                            <div class="card-value">4 项需关注</div>
                            <div class="card-description">轻度孕吐，腰酸症状</div>
                        </div>
                    </div>
                    <div class="function-card">
                        <div class="card-header">
                            <div class="card-title">营养摄入</div>
                            <div class="card-icon bg-orange">
                                <i class="fas fa-apple-alt"></i>
                            </div>
                        </div>
                        <div class="card-content">
                            <div class="card-value">72<span class="text-sm">分</span></div>
                            <div class="card-description">需补充更多蛋白质和铁</div>
                        </div>
                    </div>
                </div>

                <!-- 今日健康小贴士 -->
                <div class="today-tips">
                    <div class="tips-header">
                        <i class="fas fa-lightbulb tips-icon"></i>
                        <div class="tips-title">今日健康小贴士</div>
                    </div>
                    <div class="tips-content">
                        孕早期胚胎神经管正在快速发育，建议每天坚持补充400微克叶酸，同时保证优质蛋白质和各类维生素的摄入。避免久站久坐，每天散步30分钟有利于改善血液循环。
                    </div>
                </div>

                <!-- 下一次产检提醒 -->
                <div class="checkup-card">
                    <div class="checkup-header">
                        <div class="checkup-title">
                            <i class="fas fa-calendar-check"></i>
                            <span>下一次产检</span>
                        </div>
                        <div class="checkup-more">查看全部 ></div>
                    </div>
                    <div class="checkup-content">
                        <div class="checkup-date">
                            <div class="checkup-day">24</div>
                            <div class="checkup-month">5月</div>
                        </div>
                        <div class="checkup-info">
                            <div class="checkup-name">第一次系统产检</div>
                            <div class="checkup-time">上午9:30 · 市妇幼保健院</div>
                        </div>
                    </div>
                </div>

                <!-- 今日待办 -->
                <div class="today-todo">
                    <div class="todo-header">
                        <div class="todo-title">
                            <i class="fas fa-tasks"></i>
                            <span>今日待办</span>
                        </div>
                        <div class="todo-more">全部 ></div>
                    </div>
                    <div class="todo-item">
                        <div class="todo-checkbox checked">
                            <i class="fas fa-check"></i>
                        </div>
                        <div class="todo-content">服用孕早期复合维生素</div>
                        <div class="todo-time">08:00</div>
                    </div>
                    <div class="todo-item">
                        <div class="todo-checkbox checked">
                            <i class="fas fa-check"></i>
                        </div>
                        <div class="todo-content">记录今日饮食</div>
                        <div class="todo-time">12:30</div>
                    </div>
                    <div class="todo-item">
                        <div class="todo-checkbox"></div>
                        <div class="todo-content">进行孕期轻度运动</div>
                        <div class="todo-time">17:00</div>
                    </div>
                    <div class="todo-item">
                        <div class="todo-checkbox"></div>
                        <div class="todo-content">预约下周NT检查</div>
                        <div class="todo-time">今天</div>
                    </div>
                </div>
            </div>

            <!-- 底部导航栏 -->
            <div class="nav-bar">
                <div class="nav-item active">
                    <i class="fas fa-home text-xl mb-1"></i>
                    <span>首页</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-notes-medical text-xl mb-1"></i>
                    <span>记录</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-calendar-alt text-xl mb-1"></i>
                    <span>产检</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-user-friends text-xl mb-1"></i>
                    <span>伴侣空间</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-user text-xl mb-1"></i>
                    <span>我的</span>
                </div>
            </div>
        </div>
    </body>
</html>
